import request from '@/utils/request'
export function imgUpload(formData) {
    return request({
        url: '/cms/pics',
        method: 'POST',
        headers: { 'Content-Type': 'multipart/articles-data' },
        data: formData
    })
}
export function fileUpload(formData){
    return request({
        url: '/cms/files',
        method: 'POST',
        headers: { 'Content-Type': 'multipart/articles-data' },
        data: formData
    })
}